/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "主板管理",TableName = "boardInfo")]
    public partial class boardInfo:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="主键")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid id { get; set; }

       /// <summary>
       ///设备ID
       /// </summary>
       [Display(Name ="设备ID")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid device_id { get; set; }

       /// <summary>
       ///设备编号
       /// </summary>
       [Display(Name ="设备编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string deviceNo { get; set; }

       /// <summary>
       ///发送模式
       /// </summary>
       [Display(Name ="发送模式")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? sendimode { get; set; }

       /// <summary>
       ///采集间隔
       /// </summary>
       [Display(Name ="采集间隔")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? gatherInterval { get; set; }

       /// <summary>
       ///心跳间隔
       /// </summary>
       [Display(Name ="心跳间隔")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? heartbeatInterval { get; set; }

       /// <summary>
       ///软件版本号
       /// </summary>
       [Display(Name ="软件版本号")]
       [Column(TypeName="int")]
       public int? softwareVersion { get; set; }

       /// <summary>
       ///主IP
       /// </summary>
       [Display(Name ="主IP")]
       [MaxLength(25)]
       [Column(TypeName="nvarchar(25)")]
       [Editable(true)]
       public string primaryIP { get; set; }

       /// <summary>
       ///副IP
       /// </summary>
       [Display(Name ="副IP")]
       [MaxLength(25)]
       [Column(TypeName="nvarchar(25)")]
       [Editable(true)]
       public string secondaryIP { get; set; }

       /// <summary>
       ///省电模式
       /// </summary>
       [Display(Name ="省电模式")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? powerMode { get; set; }

       /// <summary>
       ///显示开关
       /// </summary>
       [Display(Name ="显示开关")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? displaySwitch { get; set; }

       /// <summary>
       ///太阳能电量(V)
       /// </summary>
       [Display(Name ="太阳能电量(V)")]
       [Column(TypeName="double")]
       public decimal? solarPower { get; set; }

       /// <summary>
       ///太阳能充电时间
       /// </summary>
       [Display(Name ="太阳能充电时间")]
       [Column(TypeName="int")]
       public int? solarChargingTime { get; set; }

       /// <summary>
       ///更新时间
       /// </summary>
       [Display(Name ="更新时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? updateTime { get; set; }

       /// <summary>
       ///设备所属性用户
       /// </summary>
       [Display(Name ="设备所属性用户")]
       [Column(TypeName="int")]
       public int? CreateID { get; set; }

       
    }
}